<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="/css/detail.css">
    <script src="/js/tools.js"></script>
    <title>商品详情</title>
</head>

<body>
    <header></header>
    <section>
        <div class="container">
            <div id="design">

            </div>
            <script type="text/html" id="src_design">
            
                <div class="depic">
                    <img src="{{photo[0].url}}" class="zoom-image">
                    <ul class="imgs" id="gal1">
                        {{each photo img}}
                        <li>
                            <a href='javascript:;' data-image="{{img.url}}" data-zoom-image="{{img.url}}">
                                <img src="{{img.url}}"  class="smallpic">
                            </a>
                        </li>
                        {{/each}}
                    </ul>
                </div>
                    <div class="detail">
                        <div class="de01">
                            <p>{{title}}</p> 
                            <span>型号:{{commodityTypeName}}</span>
                            <span>销量:{{saleNum}}</span>
                        </div>
                        <div class="de02">
                            <p>材质:{{couponStataus}}</p>
                            
                        </div>
                        <div class="de03">
                            <span>尺寸:</span>
                            <select name="" id="">
                                {{each accessoryHints meas}}
                                <option value="{{meas}}">{{meas.select}}</option>
                                {{/each}}
                            </select>
                        </div>
                        <div class="de04">
                            <h2>
                                <em>￥</em>
                                <b>{{price}}</b>
                                <a href="javascript:;" class="originPrice">{{originPrice}}</a>
                            </h2>
                        <a href="javascript:;" id="add-to-cart-btn">加入购物车</a>
                        <a href="/html/shopping.html">立即购买</a>
                    </div>
                    <p>如需加急快递及预约定时递送服务请与在线客服联系</p>
                </div>
                {{each descConteneList bigImg}}
                <img src="{{bigImg.image.url}}" alt="" class="bigimg">
                {{/each}}
            </script> 
        </div>
    </section>
    <footer></footer>
</body>
<script src="/libs/require/require.min.js" data-main="/js/detail"></script>
</html>